/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ep.persistence.entities;

import java.util.Collection;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author User
 */
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class RegisterDoctorBean {

    @XmlElement
    private T001User user;
    @XmlElement
    private T002Doctor doctor;
    @XmlElement
    private Collection insurances;

    public RegisterDoctorBean() {
    }

    public RegisterDoctorBean(T001User user, T002Doctor doctor, Collection insurances) {
        this.user = user;
        this.doctor = doctor;
        this.insurances = insurances;
    }

    public T001User getUser() {
        return user;
    }

    public void setUser(T001User user) {
        this.user = user;
    }

    public T002Doctor getDoctor() {
        return doctor;
    }

    public void setDoctor(T002Doctor doctor) {
        this.doctor = doctor;
    }

    public Collection getInsurances() {
        return insurances;
    }

    public void setInsurances(Collection insurances) {
        this.insurances = insurances;
    }
}
